package com.wzy.orderSystem.service;

import com.wzy.orderSystem.pojo.order;

import java.sql.SQLException;
import java.util.Date;
import java.util.List;

public interface opOrder {
    //根据订单号id查询订单信息
    public List<order> selectById(int id) throws SQLException;

    //根据订单号id修改订单状态
    public int updateById(int id, String foodState);

    //根据订单号id删除订单信息
    public int deleteById(int id);

    //添加订单
    public int insert(int id, int foodId, String customName, int phone, String food, int foodNum, String foodMark, Date foodDate,String address,String foodMoney,String foodState);
}
